package com.sharkpro.designPattern.myAdapter;

/**
 * @author jianxin.wei
 * @description 适配器
 * @date 2024/12/17 11:20
 */
public class PrintBanner extends Banner implements Print {
    public PrintBanner(String string){
        super(string);
    }

    @Override
    public void printWeak() {
        showWithParen();
    }

    @Override
    public void printStrong() {
        showWithAster();
    }
}
